<!DOCTYPE html>
<html>
<head>
<title>1.3.1 Presentation Roles</title>
<!-- @HTMLCS_Test@
Name: SC 1.3.1 Presentation Roles
Standard: WCAG2AAA
Assert: No Error *.H37 on #deliberateFail1
Assert: No Error *.F92.ARIA4 on #ignoredRole
Assert: No Error *.H37 on #deliberateFail2
Assert: No Error *.F92.ARIA4 on #ariaHidden
Assert: Error *.F92.ARIA4 on #incorrectUsageTable
Assert: No Error *.F92.ARIA4 on #correctUsageWithRoles
Assert: No Error *.F92.ARIA4 on #incorrectUsageTable2
Assert: No Error *.F92.ARIA4 on #incorrectUsageTable3
-->
</head>
<body>
<div id="ignoredRole" role="presentation">
    <img id="deliberateFail1" />
</div>
<div id="ariaHidden" aria-hidden="true">
    <img id="deliberateFail2" />
</div>
<table id="incorrectUsageTable" role="presentation">
    <tr>
        <th>Col 1</th>
        <th>Col 2</th>
    </tr>
    <tr>
        <td>Row 1 Col 1</td>
        <th>Row 1 Col 2</th>
    </tr>
</table>
<ul role="tree">
    <li id="correctUsageWithRoles" role="presentation">
        <a role="treeitem" aria-expanded="true">An expanded tree node</a> 
    </li>
</ul>
<div aria-hidden="true">
    <h2>Aria Hidden stops presentation role check</h2>
        <table id="incorrectUsageTable2" role="presentation">
        <tr>
            <th>Col 1</th>
            <th>Col 2</th>
        </tr>
        <tr>
            <td>Row 1 Col 1</td>
            <th>Row 1 Col 2</th>
        </tr>
    </table>
</div>
<div>
    <h2>Aria Hidden stops presentation role check with aria-hidden on same element as role</h2>
        <table id="incorrectUsageTable3" aria-hidden="true" role="presentation">
        <tr>
            <th>Col 1</th>
            <th>Col 2</th>
        </tr>
        <tr>
            <td>Row 1 Col 1</td>
            <th>Row 1 Col 2</th>
        </tr>
    </table>
</div>
</body>
</html>
